package com.sy;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @Author: zx_dong
 * @CreateTime: 2025-04-10
 */
@SpringBootApplication
@EnableTransactionManagement //开启注解方式的事务管理
@MapperScan("com.sy.mapper")
@Slf4j
public class EduApplication {
    public static void main(String[] args) {
        SpringApplication.run(EduApplication.class, args);
        log.info("server started");
    }
}
